libmystdio.so : mystdio.o mystring.o
	gcc -shared -o $@ $^

%.o : %.c
	gcc -fPIC -c $<

.PHONY:
clean : 
	rm -rf *.o *.so mylib

.PHONY:
output:
	mkdir -p mylib
	mkdir -p mylib/lib
	mkdir -p mylib/include
	cp ./*h ./mylib/include
	cp ./*.so ./mylib/lib 
